using System.Text;
using UnityEngine;

public class Global
{
    public const bool isLog = true;

    public const int TeamCount = 32;

    public const int sceneLoading = 0;

    public const int sceneMainmenu = 1;

    public const int sceneChooseTeam = 2;

    public const int sceneChooseClothe = 3;

    public const int sceneGame = 4;

    public const int sceneChooseMode = 5;

    public const int sceneTeamManage = 6;

    public const int sceneShop = 7;

    public const int sceneChooseLevel = 8;

    public const float ThreePointRadius = 7.25f;

    public const int OffenseTime_Max = 15;

    public const float SCREEN_WIDTH = 800f;

    public const float SCREEN_HEIGHT = 480f;

    public static bool isAndroid;

    public static Rect rectCourt = new Rect(-14f, -7.5f, 28f, 15f);

    public static Vector3 posBaseLineRight = new Vector3(0f, 0f, -14.5f);

    public static Vector3 posBaseLineLeft = new Vector3(0f, 0f, 0f - posBaseLineRight.z);

    public static Vector3[] posSideLine = new Vector3[2]
    {
        new Vector3(8.3f, 0f, 0f),
        new Vector3(-8.3f, 0f, 0f)
    };

    public static int[] indexColor_BlackYellow = new int[8]
    {
        19,
        17,
        15,
        25,
        24,
        0,
        21,
        4
    };

    public static int[] indexColor_BlackBlue = new int[3]
    {
        13,
        6,
        1
    };

    public static int[] indexColor_YellowBlue = new int[3]
    {
        3,
        30,
        5
    };

    public static int[] indexColor_BlackRed = new int[5]
    {
        8,
        16,
        7,
        23,
        14
    };

    public static int[] indexColor_RedBlue = new int[6]
    {
        20,
        31,
        29,
        11,
        18,
        2
    };

    public static int[] indexColor_Green = new int[10]
    {
        32,
        33,
        34,
        35,
        36,
        37,
        38,
        10,
        9,
        22
    };

    public static int[] indexColor_Yellow = new int[2]
    {
        27,
        28
    };

    public static int[] indexColor_Brown = new int[2]
    {
        12,
        26
    };

    public static int BlackYellow_Basketry_Index = 3;

    public static int BlackYellow_Bench_Index = 3;

    public static int BlackYellow_SecondFloor_index = 2;

    public static int BlackYellow_Billboard_index = 1;

    public static int BlackBlue_Basketry_Index = 1;

    public static int BlackBlue_Bench_Index = 2;

    public static int BlackBlue_SecondFloor_index = 2;

    public static int BlackBlue_Billboard_index = 3;

    public static int YellowBlue_Basketry_Index = 4;

    public static int YellowBlue_Bench_Index = 3;

    public static int YellowBlue_SecondFloor_index = 2;

    public static int YellowBlue_Billboard_index = 3;

    public static int BlackRed_Basketry_Index = 2;

    public static int BlackRed_Bench_Index = 1;

    public static int BlackRed_SecondFloor_index = 1;

    public static int BlackRed_Billboard_index = 1;

    public static int RedBlue_Basketry_Index = 5;

    public static int RedBlue_Bench_Index = 1;

    public static int RedBlue_SecondFloor_index = 1;

    public static int RedBlue_Billboard_index = 2;

    public static Color Green_GroundColor = new Color(0.235f, 0.51f, 0.235f, 0.863f);

    public static Color Green_LineColor = Color.white;

    public static Color Green_ThreeSecondColor_Out = new Color(0.235f, 0.51f, 0.235f, 0.863f);

    public static Color Green_ThreeSecondColor_in = new Color(0.235f, 0.51f, 0.235f, 0.863f);

    public static int Green_Basketry_Index = 3;

    public static int Green_Bench_Index = 3;

    public static int Green_SecondFloor_index = 2;

    public static int Green_Billboard_index = 1;

    public static int Yellow_Basketry_Index = 3;

    public static int Yellow_Bench_Index = 3;

    public static int Yellow_SecondFloor_index = 2;

    public static int Yellow_Billboard_index = 1;

    public static int Brown_Basketry_Index = 3;

    public static int Brown_Bench_Index = 3;

    public static int Brown_SecondFloor_index = 2;

    public static int Brown_Billboard_index = 1;

    public static Color[] GroundColor = new Color[30]
    {
        new Color(0f, 0f, 0f, 0.863f),
        new Color(0f, 0f, 0f, 0.863f),
        new Color(0.043f, 0.078f, 0.188f, 0.863f),
        new Color(0.043f, 0.078f, 0.188f, 0.863f),
        new Color(0.059f, 0.522f, 0.588f, 0.863f),
        new Color(0.141f, 0.361f, 0.627f, 0.863f),
        new Color(0.867f, 0.71f, 0.282f, 0.863f),
        new Color(0.067f, 0.106f, 0.224f, 0.863f),
        new Color(0f, 0f, 0f, 0.863f),
        new Color(0.11f, 0.373f, 0.243f, 0.863f),
        new Color(0.043f, 0.412f, 0.333f, 0.863f),
        new Color(0.192f, 0.325f, 0.42f, 0.863f),
        new Color(0.227f, 0.412f, 0.686f, 0.863f),
        new Color(0.137f, 0.176f, 0.2f, 0.863f),
        new Color(0.106f, 0.02f, 0.02f, 0.863f),
        new Color(0f, 0f, 0f, 0.863f),
        new Color(0.067f, 0.129f, 0.224f, 0.863f),
        new Color(0.027f, 0.169f, 0.337f, 0.863f),
        new Color(0.784f, 0.635f, 0.408f, 0.863f),
        new Color(0.055f, 0.125f, 0.271f, 0.863f),
        new Color(0.055f, 0.125f, 0.271f, 0.863f),
        new Color(0.055f, 0.125f, 0.271f, 0.863f),
        new Color(0.055f, 0.125f, 0.271f, 0.863f),
        new Color(0.039f, 0.011f, 0.035f, 0.863f),
        new Color(0.102f, 0.459f, 0.718f, 0.863f),
        new Color(0.365f, 0.09f, 0.522f, 0.863f),
        new Color(0.133f, 0.11f, 0.149f, 0.863f),
        new Color(0.859f, 0.663f, 0.129f, 0.863f),
        new Color(0.894f, 0.729f, 0.196f, 0.863f),
        new Color(0.859f, 0.129f, 0.325f, 0.863f)
    };

    public static Color[] LineColor = new Color[30]
    {
        new Color(0f, 0f, 0f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(0.055f, 0.063f, 0.29f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 0.776f, 0f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(0.651f, 0.686f, 0.71f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(0.561f, 0.047f, 0.047f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(0.49f, 0.529f, 0.612f, 0.863f),
        new Color(1f, 1f, 1f, 1.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f),
        new Color(0f, 0f, 0f, 0.863f),
        new Color(0.275f, 0.039f, 0.388f, 0.863f),
        new Color(0f, 0.035f, 0.369f, 0.863f),
        new Color(1f, 1f, 1f, 0.863f)
    };

    public static Color[] ThreeSecondColor_Out = new Color[30]
    {
        new Color(0.412f, 0f, 0f, 0.863f),
        new Color(0.114f, 0.216f, 0.529f, 0.863f),
        new Color(0.604f, 0.035f, 0.169f, 0.863f),
        new Color(0.604f, 0.035f, 0.169f, 0.863f),
        new Color(0.153f, 0.161f, 0.396f, 0.863f),
        new Color(0.718f, 0.055f, 0.235f, 0.863f),
        new Color(0.012f, 0.137f, 0.282f, 0.863f),
        new Color(0.365f, 0.075f, 0.075f, 0.863f),
        new Color(0.627f, 0.106f, 0.067f, 0.863f),
        new Color(0.145f, 0.42f, 0.282f, 0.863f),
        new Color(0.043f, 0.412f, 0.333f, 0.863f),
        new Color(0.569f, 0.098f, 0.098f, 0.863f),
        new Color(0.992f, 0.443f, 0.122f, 0.863f),
        new Color(0f, 0f, 0f, 0.863f),
        new Color(0.729f, 0.051f, 0.208f, 0.863f),
        new Color(0f, 0f, 0f, 0.863f),
        new Color(0.835f, 0.745f, 0.176f, 0.863f),
        new Color(0.075f, 0.443f, 0.663f, 0.863f),
        new Color(0.784f, 0.635f, 0.408f, 0.863f),
        new Color(0.58f, 0.514f, 0.278f, 0.863f),
        new Color(0.063f, 0.451f, 0.784f, 0.863f),
        new Color(0.251f, 0.553f, 0.769f, 0.863f),
        new Color(0.055f, 0.337f, 0.161f, 0.863f),
        new Color(0.843f, 0.231f, 0.188f, 0.863f),
        new Color(0.102f, 0.459f, 0.718f, 0.863f),
        new Color(0.365f, 0.09f, 0.522f, 0.863f),
        new Color(0.812f, 0.353f, 0.086f, 0.863f),
        new Color(0.392f, 0.078f, 0.47f, 0.863f),
        new Color(0.894f, 0.729f, 0.196f, 0.863f),
        new Color(0.145f, 0.376f, 0.651f, 0.863f)
    };

    public static Color[] ThreeSecondColor_In = new Color[30]
    {
        new Color(0.918f, 0.682f, 0f, 0.863f),
        new Color(0.114f, 0.216f, 0.529f, 0.863f),
        new Color(0.604f, 0.035f, 0.169f, 0.863f),
        new Color(0.604f, 0.035f, 0.169f, 0.863f),
        new Color(0.149f, 0.722f, 0.808f, 0.863f),
        new Color(0.071f, 0.302f, 0.537f, 0.863f),
        new Color(0.012f, 0.137f, 0.282f, 0.863f),
        new Color(0.365f, 0.075f, 0.075f, 0.863f),
        new Color(0.627f, 0.106f, 0.067f, 0.863f),
        new Color(0.604f, 0.063f, 0.235f, 0.863f),
        new Color(0.043f, 0.412f, 0.333f, 0.863f),
        new Color(0.173f, 0.294f, 0.38f, 0.863f),
        new Color(0.992f, 0.447f, 0.122f, 0.863f),
        new Color(0.137f, 0.176f, 0.2f, 0.863f),
        new Color(0.729f, 0.051f, 0.208f, 0.863f),
        new Color(0f, 0f, 0f, 0.863f),
        new Color(0.043f, 0.098f, 0.231f, 0.863f),
        new Color(0.075f, 0.443f, 0.663f, 0.863f),
        new Color(0.784f, 0.635f, 0.408f, 0.863f),
        new Color(0.58f, 0.514f, 0.278f, 0.863f),
        new Color(0.063f, 0.451f, 0.784f, 0.863f),
        new Color(0.251f, 0.553f, 0.769f, 0.863f),
        new Color(0.055f, 0.337f, 0.161f, 0.863f),
        new Color(0.843f, 0.231f, 0.188f, 0.863f),
        new Color(0.102f, 0.459f, 0.718f, 0.863f),
        new Color(0.365f, 0.09f, 0.522f, 0.863f),
        new Color(0.812f, 0.353f, 0.086f, 0.863f),
        new Color(0.392f, 0.078f, 0.47f, 0.863f),
        new Color(0.894f, 0.729f, 0.196f, 0.863f),
        new Color(0.145f, 0.376f, 0.651f, 0.863f)
    };

    public static Vector3[] posOffense_Right = new Vector3[18]
    {
        new Vector3(5.524907f, 0f, -12.16436f),
        new Vector3(2.52308f, 0f, -10.91322f),
        new Vector3(4.479269f, 0f, -9.621336f),
        new Vector3(2.044064f, 0f, -7.738467f),
        new Vector3(3.800197f, 0f, -6.352863f),
        new Vector3(5.835672f, 0f, -6.624856f),
        new Vector3(7.396229f, 0f, -10.60809f),
        new Vector3(0f, 0f, -11.09316f),
        new Vector3(0f, 0f, -8.746331f),
        new Vector3(0f, 0f, -6.394753f),
        new Vector3(0f, 0f, -4.50599f),
        new Vector3(-5.524907f, 0f, -12.16436f),
        new Vector3(-2.52308f, 0f, -10.91322f),
        new Vector3(-4.479269f, 0f, -9.621336f),
        new Vector3(-2.044064f, 0f, -7.738467f),
        new Vector3(-3.800197f, 0f, -6.352863f),
        new Vector3(-5.835672f, 0f, -6.624856f),
        new Vector3(-7.396229f, 0f, -10.60809f)
    };

    public static Vector3[] posOffense_Left = new Vector3[18]
    {
        new Vector3(-5.524907f, 0f, 12.16436f),
        new Vector3(-2.52308f, 0f, 10.91322f),
        new Vector3(-4.479269f, 0f, 9.621336f),
        new Vector3(-2.044064f, 0f, 7.738467f),
        new Vector3(-3.800197f, 0f, 6.352863f),
        new Vector3(5.835672f, 0f, 6.624856f),
        new Vector3(7.396229f, 0f, 10.60809f),
        new Vector3(0f, 0f, 11.09316f),
        new Vector3(0f, 0f, 8.746331f),
        new Vector3(0f, 0f, 6.394753f),
        new Vector3(0f, 0f, 4.50599f),
        new Vector3(5.524907f, 0f, 12.16436f),
        new Vector3(2.52308f, 0f, 10.91322f),
        new Vector3(4.479269f, 0f, 9.621336f),
        new Vector3(2.044064f, 0f, 7.738467f),
        new Vector3(3.800197f, 0f, 6.352863f),
        new Vector3(-5.835672f, 0f, 6.624856f),
        new Vector3(-7.396229f, 0f, 10.60809f)
    };

    public static Vector3[] posOpening_Left = new Vector3[5]
    {
        new Vector3(8.5f, 0f, 10f),
        new Vector3(8.5f, 0f, 11.5f),
        new Vector3(8.5f, 0f, 13f),
        new Vector3(8.5f, 0f, 14.5f),
        new Vector3(8.5f, 0f, 16f)
    };

    public static Vector3[] posOpening_Right = new Vector3[5]
    {
        new Vector3(8.5f, 0f, -10f),
        new Vector3(8.5f, 0f, -11.5f),
        new Vector3(8.5f, 0f, -13f),
        new Vector3(8.5f, 0f, -14.5f),
        new Vector3(8.5f, 0f, -16f)
    };

    public static Vector3[] posJumpBall_Left = new Vector3[5]
    {
        new Vector3(-0.251f, 0f, 8.11f),
        new Vector3(4f, 0f, -3f),
        new Vector3(3f, 0f, 4.5f),
        new Vector3(-3f, 0f, 8.066889f),
        new Vector3(0f, 0f, 0.68f)
    };

    public static Vector3[] posJumpBall_Right = new Vector3[5]
    {
        new Vector3(-0.251f, 0f, -7.467758f),
        new Vector3(5f, 0f, 4f),
        new Vector3(4f, 0f, -5.5f),
        new Vector3(-4f, 0f, -8.066889f),
        new Vector3(0f, 0f, -0.68f)
    };

    public static Vector3[] posQuarterEnd_Left = new Vector3[5]
    {
        new Vector3(8.351885f, 0f, 11.48371f),
        new Vector3(7.583569f, 0f, 11.6063f),
        new Vector3(7.564429f, 0f, 12.86497f),
        new Vector3(8.355144f, 0f, 13.22401f),
        new Vector3(8.732803f, 0f, 12.42048f)
    };

    public static Vector3[] posQuarterEnd_Right = new Vector3[5]
    {
        new Vector3(8.351885f, 0f, -11.48371f),
        new Vector3(7.583569f, 0f, -11.6063f),
        new Vector3(7.564429f, 0f, -12.86497f),
        new Vector3(8.355144f, 0f, -13.22401f),
        new Vector3(8.732803f, 0f, -12.42048f)
    };

    public static Vector3 posQuarterEndLook_Left = new Vector3(7.98099f, 0f, 11.943f);

    public static Vector3 posQuarterEndLook_Right = new Vector3(7.98099f, 0f, -11.943f);

    public static Vector3[] posFreeThrow_Right_Offense = new Vector3[5]
    {
        new Vector3(2.72f, 0f, -10.735f),
        new Vector3(-2.72f, 0f, -10.735f),
        new Vector3(0f, 0f, -7.6f),
        new Vector3(-3.52f, 0f, -4.81f),
        new Vector3(3.71f, 0f, -5f)
    };

    public static Vector3[] posFreeThrow_Right_Defense = new Vector3[5]
    {
        new Vector3(2.68f, 0f, -12f),
        new Vector3(-2.68f, 0f, -12f),
        new Vector3(-2.74f, 0f, -9.6f),
        new Vector3(-5.38f, 0f, -6f),
        new Vector3(5.5f, 0f, -6.25f)
    };

    public static Vector3[] posFreeThrow_Left_Offense = new Vector3[5]
    {
        new Vector3(2.72f, 0f, 10.735f),
        new Vector3(-2.72f, 0f, 10.735f),
        new Vector3(0f, 0f, 7.6f),
        new Vector3(-3.52f, 0f, 4.81f),
        new Vector3(3.71f, 0f, 5f)
    };

    public static Vector3[] posFreeThrow_Left_Defense = new Vector3[5]
    {
        new Vector3(2.68f, 0f, 12f),
        new Vector3(-2.68f, 0f, 12f),
        new Vector3(-2.74f, 0f, 9.6f),
        new Vector3(-5.38f, 0f, 6f),
        new Vector3(5.5f, 0f, 6.25f)
    };

    public static Vector3 posBallIn_Left_Basketry = new Vector3(0f, 3.05f, 12.325f);

    public static Vector3 posBallIn_Left_Ground = MathHelper.setY(posBallIn_Left_Basketry, 0f);

    public static Vector3 posBallIn_Left_Backboard = MathHelper.setOffestZ(posBallIn_Left_Basketry, 0.675f);

    public static Vector3 posBallIn_Right_Basketry = MathHelper.setZ(posBallIn_Left_Basketry, 0f - posBallIn_Left_Basketry.z);

    public static Vector3 posBallIn_Right_Ground = MathHelper.setY(posBallIn_Right_Basketry, 0f);

    public static Vector3 posBallIn_Right_Backboard = MathHelper.setOffestZ(posBallIn_Right_Basketry, -0.675f);

    public static int speed_ball_pass = 13;

    public static Vector3[] posBallOut_Left = new Vector3[4]
    {
        new Vector3(0.3f, 3.05f, 12.04f),
        new Vector3(-0.3f, 3.05f, 12.04f),
        new Vector3(-0.26f, 3.14f, 12.3f),
        new Vector3(0.26f, 3.14f, 12.3f)
    };

    public static Vector3[] posBallOut_Right = new Vector3[4]
    {
        new Vector3(0.3f, 3.05f, -12.04f),
        new Vector3(-0.3f, 3.05f, -12.04f),
        new Vector3(-0.26f, 3.14f, -12.3f),
        new Vector3(0.26f, 3.14f, -12.3f)
    };

    public static float MoveSpeed_Camera = 6f;

    public static Vector3 cameraPos_Left = new Vector3(-14.5f, 6f, 3f);

    public static Vector3 cameraPos_Right = new Vector3(cameraPos_Left.x, cameraPos_Left.y, 0f - cameraPos_Left.z);

    public static int cameraFieldOfView = 35;

    public static float NormalMoveSpeed_Player = 5f;

    public static float NormalWalkSpeed_Player = 2.3f;

    public static Vector3[][] posHairOffest = new Vector3[3][]
    {
        new Vector3[6]
        {
            new Vector3(0f, 1.72f, -0.012f),
            new Vector3(0f, 1.7f, -0.008f),
            new Vector3(0f, 1.69f, -0.01f),
            new Vector3(0f, 1.8f, -0.01f),
            new Vector3(0f, 1.84f, 0f),
            new Vector3(0f, 1.82f, -0.01f)
        },
        new Vector3[6]
        {
            new Vector3(0f, 1.88f, -0.005f),
            new Vector3(0f, 1.871991f, -0.001223707f),
            new Vector3(0f, 1.871991f, -0.001223707f),
            new Vector3(0f, 1.955123f, 0f),
            new Vector3(0f, 2.015669f, 0f),
            new Vector3(0f, 1.989322f, 0f)
        },
        new Vector3[6]
        {
            new Vector3(0f, 2.05f, -0.006f),
            new Vector3(0f, 2.04f, -0.001223707f),
            new Vector3(0f, 2.04f, -0.001223707f),
            new Vector3(0f, 2.13f, 0f),
            new Vector3(0f, 2.18f, 0f),
            new Vector3(0f, 2.16f, 0f)
        }
    };

    public static float HeightOffest_Small = 0.113812f;

    public static float HeightOffest_Big = 0.106485f;

    public static float MaxMoveSpeed_Referee = 4f;

    public static Vector3 pos_JumpBall = new Vector3(0.3568422f, 0f, -0.2533908f);

    public static Vector3 pos_FreeThrow_Left_Referee = new Vector3(0f, 0f, 13.31776f);

    public static Vector3 pos_FreeThrow_Right_Referee = new Vector3(0f, 0f, -13.31776f);

    public static string[] str_quarter = new string[4]
    {
        "第一",
        "第二",
        "第三",
        "第四"
    };

    public static string[] str_quarter_fullname = new string[4]
    {
       "第一季度",
        "第二季度",
        "第三季度",
        "第四季度"
    };

    public static string[] str_location = new string[2]
    {
        "东部",
        "西部"
    };

    public static string[] str_playerType = new string[5]
    {
        "控球后卫",
        "得分后卫",
        "小前锋",
        "大前锋",
        "中锋"
    };

    public static string[] str_leagueName = new string[6]
    {
       "淘汰赛少年组",
"淘汰赛成年组",
"东海岸杯",
"西海岸杯",
"总决赛",
"世界杯"
    };

    public static int[] card_upgrade_total = new int[9]
    {
        2,
        5,
        10,
        20,
        40,
        60,
        80,
        100,
        200
    };

    public static int[] card_upgrade_cost = new int[9]
    {
        100,
        400,
        800,
        1500,
        2000,
        3000,
        5000,
        100,
        200
    };

    public static int[] cost_unlockMode = new int[6]
    {
        0,
        50,
        100,
        100,
        250,
        500
    };

    public static int[] reward_gameResult_win = new int[8]
    {
        200,
        200,
        200,
        200,
        200,
        250,
        200,
        200
    };

    public static int[] reward_gameResult_lose = new int[8]
    {
        100,
        100,
        100,
        100,
        100,
        0,
        100,
        100
    };

    public static int[] reward_leaguereward = new int[6]
    {
        50,
        80,
        100,
        100,
        200,
        250
    };

    public static string str_dialog_resetSeason = "请确认您想要重置";

    public static string[] str_dialog_costToUnlock = new string[5]
    {
        "赢得少年淘汰赛可解锁此联赛！或者你可以花些钱来解锁此联赛。",
"赢得高级淘汰赛可解锁此联赛！或者你可以花些钱来解锁此联赛。",
"赢得东海岸杯可解锁此联赛。或者你可以花些钱来解锁此联赛。",
"赢得西海岸杯可解锁此联赛。或者你可以花些钱来解锁此联赛。",
"赢得总决赛可解锁此联赛。或者你可以花些钱来解锁此联赛。"
    };

    public static string[] str_dialog_league_win = new string[6]
    {
       "你赢得了少年淘汰赛！",
"你赢得了成年淘汰赛！",
"你赢得了东海岸杯！",
"你赢得了西海岸杯！",
"你赢得了决赛！",
"你赢得了世界杯！你是世界冠军！"
    };

    public static string[] str_dialog_league_lose = new string[6]
    {
       "你在少年淘汰赛中失败了。赢得少年淘汰赛才能解锁青年淘汰赛！继续努力！",
"你在青年淘汰赛中失败了。赢得青年淘汰赛才能解锁东海岸杯！继续努力！",
"你在东海岸杯中失败了。赢得东海岸杯才能解锁西海岸杯！继续努力！",
"你在西海岸杯中失败了。赢得西海岸杯才能解锁总决赛！继续努力！",
"你在总决赛杯中失败了。赢得总决赛杯才能解锁世界杯！继续努力！",
"你在世界杯中失败了！继续努力！"
    };

    public static int[] shopreward_coin = new int[6]
    {
        5000,
        13000,
        30000,
        65000,
        170000,
        350000
    };

    public static int[] shopreward_gem = new int[6]
    {
        50,
        130,
        300,
        650,
        1700,
        3500
    };

    public static int[] shopcost_physical = new int[3]
    {
        50,
        200,
        300
    };

    public static float[] shop_cost_iap = new float[6]
    {
        1.99f,
        4.99f,
        9.99f,
        19.99f,
        49.99f,
        99.99f
    };

    public static int[,] achieve_reward = new int[30, 3]
    {
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            1,
            5,
            10
        },
        {
            10,
            20,
            30
        },
        {
            10,
            -1,
            -1
        },
        {
            10,
            -1,
            -1
        },
        {
            10,
            -1,
            -1
        },
        {
            15,
            -1,
            -1
        },
        {
            15,
            -1,
            -1
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            20,
            -1,
            -1
        },
        {
            20,
            -1,
            -1
        },
        {
            20,
            -1,
            -1
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        },
        {
            5,
            10,
            15
        }
    };

    public static int[,] achieve_target = new int[30, 3]
    {
        {
            10,
            50,
            100
        },
        {
            500,
            2000,
            5000
        },
        {
            10,
            100,
            500
        },
        {
            10,
            100,
            500
        },
        {
            100,
            500,
            1000
        },
        {
            50,
            250,
            500
        },
        {
            10,
            50,
            100
        },
        {
            10,
            50,
            100
        },
        {
            20,
            200,
            1000
        },
        {
            1,
            1,
            1
        },
        {
            1,
            1,
            1
        },
        {
            1,
            1,
            1
        },
        {
            1,
            1,
            1
        },
        {
            1,
            1,
            1
        },
        {
            1,
            3,
            5
        },
        {
            1,
            3,
            5
        },
        {
            1,
            3,
            5
        },
        {
            1,
            3,
            5
        },
        {
            1,
            5,
            10
        },
        {
            1,
            5,
            10
        },
        {
            5,
            8,
            10
        },
        {
            5,
            8,
            10
        },
        {
            5,
            8,
            10
        },
        {
            30,
            31,
            32
        },
        {
            1,
            1,
            1
        },
        {
            1,
            1,
            1
        },
        {
            1,
            1,
            1
        },
        {
            1,
            3,
            5
        },
        {
            10000,
            200000,
            1000000
        },
        {
            50,
            500,
            5000
        }
    };

    public static string[,] achieve_str_target = new string[30, 3]
    {
        {
    "赢得10场比赛",
    "赢得50场比赛",
    "赢得100场比赛"
},
{
    "总得分达到500分",
    "总得分达到2000分",
    "总得分达到5000分"
},
{
    "投中10个三分球",
    "投中100个三分球",
    "投中500个三分球"
},
{
    "完成10次扣篮",
    "完成100次扣篮",
    "完成500次扣篮"
},
{
    "成功传球100次",
    "成功传球500次",
    "成功传球1000次"
},
{
    "抢断50次球",
    "抢断250次球",
    "抢断500次球"
},
{
    "盖帽10次",
    "盖帽50次",
    "盖帽100次"
},
{
    "犯规10次",
    "犯规50次",
    "犯规100次"
},
{
    "打开20个包裹",
    "打开200个包裹",
    "打开1000个包裹"
},
{
    "解锁一个S级队伍",
    string.Empty,
    string.Empty
},
{
    "解锁东海岸杯",
    string.Empty,
    string.Empty
},
{
    "解锁西海岸杯",
    string.Empty,
    string.Empty
},
{
    "解锁总决赛杯",
    string.Empty,
    string.Empty
},
{
    "解锁世界杯",
    string.Empty,
    string.Empty
},
{
    "赢得1次淘汰赛青年杯",
    "赢得3次淘汰赛青年杯",
    "赢得5次淘汰赛青年杯"
},
{
    "赢得1次淘汰赛成年杯",
    "赢得3次淘汰赛成年杯",
    "赢得5次淘汰赛成年杯"
},
{
    "赢得1次东海岸杯",
    "赢得3次东海岸杯",
    "赢得5次东海岸杯"
},
{
    "赢得1次西海岸杯",
    "赢得3次西海岸杯",
    "赢得5次西海岸杯"
},
{
    "赢得1次总决赛杯",
    "赢得5次总决赛杯",
    "赢得10次总决赛杯"
},
{
    "赢得1次世界杯",
    "赢得5次世界杯",
    "赢得10次世界杯"
},
{
    "升级到5级进攻型队伍",
    "升级到8级进攻型队伍",
    "升级到10级进攻型队伍"
},
{
    "升级到5级均衡型队伍",
    "升级到8级均衡型队伍",
    "升级到10级均衡型队伍"
},
{
    "升级到5级控制型队伍",
    "升级到8级控制型队伍",
    "升级到10级控制型队伍"
},
{
    "解锁30个队伍",
    "解锁31个队伍",
    "解锁32个队伍"
},
{
    "解锁所有特殊服装",
    string.Empty,
    string.Empty
},
{
    "解锁所有动作",
    string.Empty,
    string.Empty
},
{
    "解锁所有球",
    string.Empty,
    string.Empty
},
{
    "将一名队员属性升至最大",
    "将3名队员属性升至最大",
    "将5名队员属性升至最大"
},
{
    "获得10000金币",
    "获得200000金币",
    "获得1000000金币"
},
{
    "获得50现金",
    "获得500现金",
    "获得5000现金"
}

    };

    public static int[] card_today_cost = new int[10]
    {
        100,
        100,
        150,
        150,
        200,
        200,
        400,
        400,
        3,
        3
    };

    public static int[] cost_teammanage_action = new int[7]
    {
        2000,
        5000,
        5000,
        50,
        100,
        100,
        100
    };

    public static int[] cost_teammanage_clothe = new int[8]
    {
        1000,
        3000,
        5000,
        8000,
        10000,
        300,
        300,
        300
    };

    public static int[] cost_teammanage_ball = new int[6]
    {
        1000,
        2000,
        3000,
        200,
        200,
        200
    };

    public static int[] clotheIndex = new int[30]
    {
        14,
        7,
        5,
        3,
        7,
        0,
        6,
        11,
        5,
        8,
        8,
        9,
        11,
        1,
        3,
        1,
        13,
        9,
        0,
        2,
        12,
        10,
        10,
        14,
        13,
        4,
        12,
        4,
        2,
        6
    };

    public static string[] str_clothe_name = new string[25]
    {
       "白色",
"黑色",
"黄色边缘",
"锦鲤",
"紫色",
"红色",
"黄色",
"蓝色",
"绿色",
"黑色边缘",
"海盗",
"合金",
"老虎",
"囚犯",
"火焰",
"流媒体",
"熔岩",
"冰山",
"俄罗斯",
"立陶宛",
"法国",
"西班牙",
"巴西",
"阿根廷",
"澳大利亚"

    };

    public static int[][] dailyBonus = new int[4][]
    {
        new int[7]
        {
            200,
            5,
            1,
            300,
            5,
            10,
            1
        },
        new int[7]
        {
            500,
            10,
            2,
            600,
            8,
            15,
            2
        },
        new int[7]
        {
            800,
            15,
            3,
            900,
            12,
            20,
            3
        },
        new int[7]
        {
            1000,
            20,
            4,
            1200,
            15,
            15,
            4
        }
    };

    public static int[] timeBonus = new int[5]
    {
        50,
        80,
        100,
        120,
        150
    };

    public static int[] packageReward_normal = new int[4]
    {
        60,
        80,
        125,
        250
    };

    public static int[] packageReward_Advance = new int[5]
    {
        80,
        100,
        150,
        350,
        5
    };

    public static string[] str_notification = new string[2]
    {
       "领取今天的奖励，并升级你的球队！",
"你的球队已经准备好了。去挑战你的下一个对手吧！"

    };

    public static Color clotheColor_Red = new Color(157f / 255f, 0.027f, 13f / 85f, 1f);

    public static Color clotheColor_Orange = new Color(193f / 255f, 124f / 255f, 0f, 1f);

    public static Color clotheColor_Black = new Color(0.027f, 0.027f, 0.027f, 1f);

    public static Color clotheColor_White = Color.white;

    public static int[] clotheColor_Red_ClotheIndex = new int[7]
    {
        0,
        10,
        12,
        13,
        16,
        17,
        19
    };

    public static int[] clotheColor_Orange_ClotheIndex = new int[2]
    {
        2,
        4
    };

    public static int[] clotheColor_Black_ClotheIndex = new int[13]
    {
        5,
        6,
        7,
        8,
        9,
        11,
        14,
        18,
        20,
        21,
        22,
        23,
        24
    };

    public static int[] clotheColor_White_ClotheIndex = new int[3]
    {
        1,
        3,
        15
    };

    public static int[] combineCardRatio = new int[5]
    {
        3,
        3,
        4,
        6,
        10
    };

    public static StringBuilder stringBuilder = new StringBuilder();

    public static int[] levelMode_TeamLevel = new int[40]
    {
        1,
        2,
        1,
        2,
        1,
        2,
        1,
        2,
        3,
        4,
        5,
        3,
        4,
        5,
        3,
        4,
        5,
        3,
        4,
        5,
        6,
        7,
        8,
        6,
        7,
        8,
        6,
        7,
        8,
        6,
        7,
        8,
        9,
        10,
        9,
        10,
        9,
        10,
        9,
        10
    };

    public static string getLevelMode_StrMission(int mission, int para)
    {
        switch (mission)
        {
            case 1:
                return "击败对手";
            case 2:
                return "活动 " + para + " 分";
            case 3:
                return "完成 " + para + " 次扣篮";
            case 4:
                return "完成 " + para + " 次三分球";
            case 5:
                return "完成 " + para + " 次传球";
            case 6:
                return "完成 " + para + " 次抢断";
            case 7:
                return "完成 " + para + " 次盖帽";
            case 8:
                return "比对手多得 " + para + " 分";
            case 9:
                return "在任意一节中得到 " + para + " 分";
            default:
                LogUtils.Error("未找到任务类型");

                return string.Empty;
        }
    }
}
